export default {
  namespaced: true,
  state:{
    userName: '小明',
    num: 100
  },
  mutations:{
    addNum (state, n) {
      state.num += n
    }
  }
}
